package com.example.design.创建型设计模式.工厂方法模式;

public class RectangleFactory implements ShapeFactory {
    @Override
    public Shape createShape() {
        return new Rectangle();
    }
}